<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>404 - Not Found</title>
<script type="text/javascript" src="/lc/assets/js/jquery.js"></script>
<style type="text/css" media="screen">
	@import url("/lc/assets/css/tools.css");
	@import url("/lc/assets/css/typo.css");
	@import url("/lc/assets/css/forms.css");
	@import url("/lc/assets/css/layout.css");
	/*@import url("/lc/assets/css/admin.css");*/
</style>
<script type="text/javascript">
$(function() {
	$('#local a').click(function(evt) {
		evt.preventDefault();
		var id = '#' + $(this).attr('class');
		$('#main form').hide();
		$(id).show();
		$('#local a').parents().removeClass('selected');
		$(this).parent().addClass('selected');
	});
});
</script>
</head>
<body class="pages">
	<div id="page">
		<div id="header" class="clearfix">
			 <a id="branding" href="#">
                <img src="/lc/assets/images/layeredcontent.png" alt="LayeredContent" />
            </a><!-- end branding -->
		</div><!-- end header -->
		<div id="content" class="clearfix">
			<div id="main">
				<h1>This page has not been created</h1>
				
				<form id="new-page" class="standard" action="" enctype="multipart/form-data" method="post">
					<h2>Create page at &quot;{{ path }}&quot;?</h2>
					<div><label for="template">Template:</label>
						<select id="template" name="template">
							{% for template in templates %}
							<option value="{{ template.key }}">{{ template.name }}</option>
							{% endfor %}
						</select>
					</div>
					<div><label for="title">Title:</label> <input type="text" name="title" id="title" value="{{ title }}" /></div>
					<div class="submit"><input type="submit" name="submit" value="Create" /></div>
				</form>
				
				<form id="new-resource" style="display:none" class="standard" action="" enctype="multipart/form-data" method="post">
					<h2>Or upload file to address &quot;{{ path }}&quot;?</h2>
					<div><label for="id_file">File:</label> <input type="file" name="content" id="id_file" /></div>
					<div class="submit"><input type="submit" name="submit" value="Upload" /></div>
				</form>
			</div>
			<div id="sub">
				<ul>
					<li><a href="/lc/templates/upload">Upload Template</a></li>
				</ul>
			</div>
			<div id="local">
				<div class="wrapper">
					<ul>
						<li class="selected"><a href="#" class="new-page">Create New Page</a></li>
						<li class="last"><a href="#" class="new-resource">Upload New Resource</a></li>
					</ul>
				</div>
			</div>
			<div id="nav">
				<div class="wrapper">
					<ul>
						<li><a class="pages-link" href="/lc/pages/"><span>Pages</span></a></li>
						<li><a class="resources-link" href="/lc/resources/"><span>Resources</span></a></li>
						<li class="last"><a class="templates-link" href="/lc/templates/"><span>Templates</span></a></li>
					</ul>
				</div>
			</div>
		</div><!-- end content -->
		<div id="footer" class="clearfix">
			Copyright © 2009 Layered Content
		</div><!-- end footer -->
	</div><!-- end page -->
	<div id="extra1">&nbsp;</div>
	<div id="extra2">&nbsp;</div>
</body>
</html>
